package com.hdyg.sixg.ui.loadView;

import android.view.animation.Interpolator;

/**
 * Created by Administrator on 2018/5/22.
 * 实现加速减速
 *
 */

public class DecelerateAccelerateInterpolator implements Interpolator {
    public float getInterpolation(float t) {
        float x = 2.0f * t - 1.0f;
        return 0.5f * ( x * x * x + 1.0f);
    }
}
